package com.framework.bdf4j.sysadm.mapper;

import org.apache.ibatis.annotations.Mapper;

import com.framework.bdf4j.comm.persist.ScaBaseMapper;
import com.framework.bdf4j.sysadm.entity.SysDeptRelation;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 */
@Mapper
public interface SysDeptRelationMapper extends ScaBaseMapper<SysDeptRelation> {
	/**
	 * 删除部门关系表数据
	 *
	 * @param id 部门ID
	 */
	void deleteDeptRelationsById(Integer id);

	/**
	 * 更改部分关系表数据
	 *
	 * @param deptRelation
	 */
	void updateDeptRelations(SysDeptRelation deptRelation);
	
	void deleteDeptRelations(SysDeptRelation deptRelation);

}
